package com.zsck.pos.utils;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

/**
 * 创建者     Bowllboy
 * 创建时间   2020/5/6 9:01
 * 描述	      gson
 */
public class GsonManager {
    private static Gson gson = null;
    static {
        if (gson == null) {
            gson = new GsonBuilder().disableHtmlEscaping().create();
        }
    }

    private GsonManager() {
    }

    public static Gson getGsonInstance(){
        return gson;
    }
}
